package com.example.wanandroid.application

import android.annotation.SuppressLint
import android.app.Application
import com.example.wanandroid.room.AppRoomDatabase
import com.ketch.Ketch

class AppApplication:Application() {
    companion object{
        @SuppressLint("StaticFieldLeak")
        lateinit var ketch: Ketch
    }
    override fun onCreate() {
        super.onCreate()

        AppRoomDatabase.setup(this)
        ketch = Ketch.init(this)
    }
}